package com.ruoyi.workorder.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工单对象 work_order
 * 
 * @author renyuxin
 * @date 2024-05-28
 */
public class WorkOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工作联系单主键 */
    private Long woId;

    /** 工单类别主键 */
    @Excel(name = "工单类别主键")
    private Long woCatalogId;

    /** 项目主键 */
    @Excel(name = "项目主键")
    private Long projectId;

    /** 活动主键 */
    @Excel(name = "活动主键")
    private Long avtivityId;

    /** 工单编号 */
    @Excel(name = "工单编号")
    private String woNumber;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date woStart;

    /** 截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date woEnd;

    /** 工单标签 */
    @Excel(name = "工单标签")
    private String woTag;

    /** 工单标题 */
    @Excel(name = "工单标题")
    private String woTitle;

    /** 事由内容 */
    @Excel(name = "事由内容")
    private String woContent;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long createId;

    /** 责任人id */
    @Excel(name = "责任人id")
    private Long responsibleId;

    /** 协助人id */
    @Excel(name = "协助人id")
    private Long helpId;

    /** 抄报人id */
    @Excel(name = "抄报人id")
    private Long reporterId;

    /** 抄送人id */
    @Excel(name = "抄送人id")
    private Long copyId;

    /** 工单状态,1-待处理, 2-通过, 3-退回 */
    @Excel(name = "工单状态,1-待处理, 2-通过, 3-退回")
    private Integer woStatus;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date woDate;



    /** 工单类型名称 */
    private String woCatalogName;
    /** 项目名称 */
    private String projectName;
    /** 活动名称 */
    private String activityName;

    /** 用户昵称 */
    private String nickName;

    /** 从表中的图集合 以逗号分隔的字符串*/
    private String images;

    /** 责任人id */
    private String responsibleName;

    /** 协助人id */
    private String helpName;


    private String reporterName;

    /** 抄送人id */
    private String copyName;

    /** 创建人 */
    private String  createName;

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getResponsibleName() {
        return responsibleName;
    }

    public void setResponsibleName(String responsibleName) {
        this.responsibleName = responsibleName;
    }

    public String getHelpName() {
        return helpName;
    }

    public void setHelpName(String helpName) {
        this.helpName = helpName;
    }

    public String getReporterName() {
        return reporterName;
    }

    public void setReporterName(String reporterName) {
        this.reporterName = reporterName;
    }

    public String getCopyName() {
        return copyName;
    }

    public void setCopyName(String copyName) {
        this.copyName = copyName;
    }


    public String getWoCatalogName() {
        return woCatalogName;
    }

    public void setWoCatalogName(String woCatalogName) {
        this.woCatalogName = woCatalogName;
    }
    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }
    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setWoId(Long woId)
    {
        this.woId = woId;
    }

    public Long getWoId() 
    {
        return woId;
    }
    public void setWoCatalogId(Long woCatalogId) 
    {
        this.woCatalogId = woCatalogId;
    }

    public Long getWoCatalogId() 
    {
        return woCatalogId;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setAvtivityId(Long avtivityId) 
    {
        this.avtivityId = avtivityId;
    }

    public Long getAvtivityId() 
    {
        return avtivityId;
    }
    public void setWoNumber(String woNumber) 
    {
        this.woNumber = woNumber;
    }

    public String getWoNumber() 
    {
        return woNumber;
    }
    public void setWoStart(Date woStart) 
    {
        this.woStart = woStart;
    }

    public Date getWoStart() 
    {
        return woStart;
    }
    public void setWoEnd(Date woEnd) 
    {
        this.woEnd = woEnd;
    }

    public Date getWoEnd() 
    {
        return woEnd;
    }
    public void setWoTag(String woTag) 
    {
        this.woTag = woTag;
    }

    public String getWoTag() 
    {
        return woTag;
    }
    public void setWoTitle(String woTitle) 
    {
        this.woTitle = woTitle;
    }

    public String getWoTitle() 
    {
        return woTitle;
    }
    public void setWoContent(String woContent) 
    {
        this.woContent = woContent;
    }

    public String getWoContent() 
    {
        return woContent;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setResponsibleId(Long responsibleId) 
    {
        this.responsibleId = responsibleId;
    }

    public Long getResponsibleId() 
    {
        return responsibleId;
    }
    public void setHelpId(Long helpId) 
    {
        this.helpId = helpId;
    }

    public Long getHelpId() 
    {
        return helpId;
    }
    public void setReporterId(Long reporterId) 
    {
        this.reporterId = reporterId;
    }

    public Long getReporterId() 
    {
        return reporterId;
    }
    public void setCopyId(Long copyId) 
    {
        this.copyId = copyId;
    }

    public Long getCopyId() 
    {
        return copyId;
    }
    public void setWoStatus(Integer woStatus) 
    {
        this.woStatus = woStatus;
    }

    public Integer getWoStatus() 
    {
        return woStatus;
    }
    public void setWoDate(Date woDate) 
    {
        this.woDate = woDate;
    }

    public Date getWoDate() 
    {
        return woDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("woId", getWoId())
            .append("woCatalogId", getWoCatalogId())
            .append("projectId", getProjectId())
            .append("avtivityId", getAvtivityId())
            .append("woNumber", getWoNumber())
            .append("woStart", getWoStart())
            .append("woEnd", getWoEnd())
            .append("woTag", getWoTag())
            .append("woTitle", getWoTitle())
            .append("woContent", getWoContent())
            .append("createId", getCreateId())
            .append("responsibleId", getResponsibleId())
            .append("helpId", getHelpId())
            .append("reporterId", getReporterId())
            .append("copyId", getCopyId())
            .append("woStatus", getWoStatus())
            .append("woDate", getWoDate())
            .toString();
    }
}
